# Subrotine used to set the spectral dispersion for each grating
# Written by Sergio Scarano Jr (scaranojr@ctio.noao.edu) mar 2010.

if grating == '300':
    disp=1.3 # A/pixel
elif (grating == '600b' | grating == '600r' | grating == '600r+GG495'):
    disp=0.65 # A/pixel
elif (grating == '1200m1' | grating == '1200m2' | grating == '1200m3' 
      | grating == '1200m4' | grating == '1200m5' | grating == '1200m6' 
      | grating == '1200m7'):
    disp=0.31 # A/pixel
